﻿@{
	ViewBag.Title = "Component of knowledge acquisition";
}
@section styles{
	@Styles.Render(Bundles.Style.TreeView)
	@Styles.Render(Bundles.Style.KnowledgeBase)
}
@section scripts {
	@Scripts.Render(Bundles.Script.MindFusion)
	@Scripts.Render(Bundles.Script.TreeView)
	@Scripts.Render(Bundles.Script.KnowledgeBase)
	<script type="text/javascript">
		$(document).ready(function () {
			var kb = new RFBR.KnowledgeBase.Page({
				HierarchyContainer: $("#HierarchyContainer").get(0),
				DiagramContainer: $("#DiagramContainer").get(0),
				MainMenuContainer: $("#MainMenu").get(0),
				DomNode: $("#MainContent").get(0),
				PortalContainer: $("#MainContent").get(0),
				ControllerPath: '@Url.Content("~/KnowledgeBase")/'
			});
		});
	</script>
}

@Html.Action("Index", "MainMenu")

<div id="HierarchyContainer" class="background-gradient inline-block"></div>
<div id="DiagramContainer" class="inline-block"></div>